package com.lee.bridge;

/**
 * 功能描述:
 *
 * @author liping(lpaidd50@gmail.com)
 * @version v1.0
 * @date 2017/3/27
 */
public class Main {
	public static void main(String[] args) {
		Bridge bridge = new MyBridge();
		MethodInterface one = new MethodOne();
		bridge.setMethodInterface(one);
		bridge.method();

		MethodInterface two = new MethodTwo();
		bridge.setMethodInterface(two);
		bridge.method();
	}
}
